﻿Public Class Inventario
    Private ID_Inventario As Integer
    Private ingresos As Integer
    Private salidas As Integer
    Private cantidad As Integer
    Private ID_Producto As Integer
    Private ID_Movimientos As Integer

    Public Sub New()
    End Sub

    Public Sub New(ByVal idinv As Integer, ByVal ingre As Integer, ByVal salid As Integer, ByVal cant As Integer, ByVal idpro As Integer,
                   ByVal idmov As Integer)
        Me.ID_Inventario = idinv
        Me.ingresos = ingre
        Me.salidas = salid
        Me.cantidad = cant
        Me.ID_Producto = idpro
        Me.ID_Movimientos = idmov
    End Sub

    Public Property pIdInventario As Integer
        Get
            Return Me.ID_Inventario
        End Get
        Set(ByVal value As Integer)
            Me.ID_Inventario = value
        End Set
    End Property

    Public Property pIngresos As Integer
        Get
            Return Me.ingresos
        End Get
        Set(ByVal value As Integer)
            Me.ingresos = value
        End Set
    End Property

    Public Property pSalidas As Integer
        Get
            Return Me.salidas
        End Get
        Set(ByVal value As Integer)
            Me.salidas = value
        End Set
    End Property

    Public Property pCantidad As Integer
        Get
            Return Me.cantidad
        End Get
        Set(ByVal value As Integer)
            Me.cantidad = value
        End Set
    End Property

    Public Property pIDproducto As Integer
        Get
            Return Me.ID_Producto
        End Get
        Set(ByVal value As Integer)
            Me.ID_Producto = value
        End Set
    End Property

    Public Property pIDmovimiento As Integer
        Get
            Return Me.ID_Movimientos
        End Get
        Set(ByVal value As Integer)
            Me.ID_Movimientos = value
        End Set
    End Property
End Class
